import { requestClient } from '#/api/request';
// 列表
export const queryPage = (params: any) =>
  requestClient.get('/bus/report/page', { params });

export const getCompanyList = (params: any) =>
  requestClient.get('/company/list', { params });

// 详情
export const queryDetail = (params: any) =>
  requestClient.get('/bus/report/get', { params });

// 添加
export const querySave = (params: any) =>
  requestClient.post('/bus/report/save', params);

// 更新
export const queryUpdate = (params: any) =>
  requestClient.post('/bus/report/update', params);

// 删除
export const queryRemove = (params: any) =>
  requestClient.post('/bus/report/remove', params);

// 修改状态
export const setStatus = (params: any) =>
  requestClient.post('/bus/report/setState', params);

// 添加机构
export const querySaveCompany = (params: any) =>
  requestClient.post('/company/save', params);
